package com.sh.data.engine.application.model.request.api;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : fuchen
 * @date : 2021/3/2 11:23
 */
@Data
@Schema
public class DataApiMyApplyRequest {

    @Schema(description = "申请状态 0-待审批 1-已通过 2-已取消  3-未通过 4-已撤回")
    @NotNull(message = "申请状态不能为空")
    private Integer approveStatus;

    @Schema(description = "API名称")
    private String apiName;

    @Schema(description = "第几页")
    private Integer pageNum = 1;

    @Schema(description = "每页大小")
    private Integer pageSize = 10;
}
